cmake_minimum_required(VERSION 3.5.0)
project(cmaketest VERSION 0.1.0 LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 17)



include_directories(class_test)
include_directories(complex)
include_directories(custom_complex)
include_directories(vector_test)
include_directories(exception_test)
include_directories(newarray_test)









set(SRC_FILES main.cpp 
class_test/class_factory.cpp 
complex/complex.cpp 
custom_complex/Complex.cpp 
vector_test/vector_test.cpp 
exception_test/exception_test.cpp
newarray_test/newarray_test.cpp
)
add_executable(cmaketest ${SRC_FILES})

install(TARGETS cmaketest DESTINATION /usr/local/bin)



include(CTest)
enable_testing()

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
